# FROM  mysql:5.5.46
# FROM  mysql:5.6.44
# FROM  mysql:5.6
# FROM  mysql:5.7.6
# FROM  mysql:8
# FROM  mysql:latest
FROM mysql/mysql-server:5.7.40
#FROM mysql/mysql-server:5.7.24

#COPY plugin/server_audit_mariadb-5.5.68.so /usr/lib64/mysql/plugin/server_audit.so
#COPY plugin/server_audit_mariadb-10.1.46-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
#COPY plugin/server_audit_mariadb-10.1.48-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
#COPY plugin/server_audit_mariadb-10.2.44.so /usr/lib64/mysql/plugin/server_audit.so
# COPY plugin/server_audit_mariadb-10.2.44-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
# COPY plugin/server_audit_mariadb-10.3.37.so /usr/lib64/mysql/plugin/server_audit.so
#COPY plugin/server_audit_mariadb-10.4.27.so /usr/lib64/mysql/plugin/server_audit.so
#COPY plugin/server_audit_mariadb-10.5.4-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
# COPY plugin/server_audit_mariadb-10.5.18-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
COPY plugin/server_audit_mariadb-10.8.6-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
# COPY plugin/server_audit_mariadb-10.9.4-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
#COPY plugin/server_audit_mariadb-10.10.1-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
#COPY plugin/server_audit_mariadb-10.11.0-linux-systemd.so /usr/lib64/mysql/plugin/server_audit.so
#RUN chmod +x /usr/lib64/mysql/plugin/server_audit.so

EXPOSE 3306


# 配置
# https://github.com/nginxinc/docker-nginx/blob/97b65112180e0c7764465aa47a974fc7af3c99ae/mainline/alpine/Dockerfile